<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
		</style>
			<script>
				function main1(){
					document.open();
					if(i==0){
						location.assign("http://www.baidu.com");
					}
					document.write("倒计时"+(i--)+"秒");
					document.close();
				}
				var i=10;
				setInterval("main1()",1000);
			</script>
	</head>
	<body>
		
	</body>
</html>
